/**
 * 
 */
package com.silp.labs.endclass;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;

/**
 * @author silp
 *
 */
public class Graphiew extends Activity {

	private String data;

	/* (non-Javadoc)
	 * @see android.app.Activity#onCreate(android.os.Bundle)
	 */
	@Override
	protected void onCreate(Bundle ibundle) {
		
		super.onCreate(ibundle);
		setContentView(R.layout.graph_view);
		Bundle extras = getIntent().getExtras();
		if (extras == null) {
			return;
		}
		data =extras.getString("html");
		WebView wv = new WebView(this);
		setContentView(wv);
		wv.loadData(data, "text/html", "utf-8");

	}

}
